/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.report.bean;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

public class EventAnalysis {
    @ApiModelProperty(value = "部门code", name = "departmentCode", required = true)
    private String departmentCode;
    @ApiModelProperty(value = "部门名称", name = "departmentName", required = true)
    private String departmentName;
    @ApiModelProperty(value = "事件数量", name = "eventCount", required = false)
    private Integer eventCount;

    @ApiModelProperty(value = "事故总数", name = "accidentCount", required = false)
    private Integer accidentCount;

    @ApiModelProperty(value = "工时总数", name = "lossWorkTimesCount", required = false)
    private BigDecimal lossWorkTimesCount;

    @ApiModelProperty(value = "总工时数", name = "totalWorkTimes", required = false)
    private BigDecimal totalWorkTimes;

    public EventAnalysis(){
        this.eventCount=0;
        this.lossWorkTimesCount=new BigDecimal(0);
        this.totalWorkTimes=new BigDecimal(0);
        this.accidentCount=0;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Integer getEventCount() {
        return eventCount;
    }

    public void setEventCount(Integer eventCount) {
        this.eventCount = eventCount;
    }

    public Integer getAccidentCount() {
        return accidentCount;
    }

    public void setAccidentCount(Integer accidentCount) {
        this.accidentCount = accidentCount;
    }

    public BigDecimal getLossWorkTimesCount() {
        return lossWorkTimesCount;
    }

    public void setLossWorkTimesCount(BigDecimal lossWorkTimesCount) {
        this.lossWorkTimesCount = lossWorkTimesCount;
    }

    public BigDecimal getTotalWorkTimes() {
        return totalWorkTimes;
    }

    public void setTotalWorkTimes(BigDecimal totalWorkTimes) {
        this.totalWorkTimes = totalWorkTimes;
    }
}
